<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ShowVote.aspx.cs" Inherits="ShowVote"  MasterPageFile="~/Skin/Popup.master"%>
<%@ Register Src="~/Controls/Feed.ascx" TagName="Feed" TagPrefix="vw" %>

<asp:Content ContentPlaceHolderID="main" ID="phPopup" runat="server">
<div id="divVote" align="center" class="cover">
    <table id="tblElg" runat="server" class="general" style="padding-left:15px;vertical-align:top; width: 50%;" cellpadding="0" cellspacing="0">
        <tr>
            <td><asp:Label ID="lblAge" runat="server" Text="Label"></asp:Label></td>
            <td style="padding-top:10px;padding-left:10px;">
                <asp:TextBox ID="txtAge" runat="server" CssClass="textbox textboxMan" Width="100px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td><asp:Label ID="lblCountry" runat="server" Text="Label"></asp:Label></td>
            <td style="padding-top:10px;padding-left:10px;">
                <asp:DropDownList ID="ddlCountry" CssClass="ddl" runat="server" Width="100px"></asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td valign="bottom" colspan="2" align="center">
                <asp:Label ID="lblProceed" runat="server"></asp:Label><br />
                <img id="btnGo" runat="server" alt="Go" title="Go" class="pointer" onmouseover="this.src='Images/dj/goh.gif'" onmouseout="this.src='Images/dj/go.gif'" src="Images/dj/go.gif" onclick="return CheckEligibility();" />&nbsp;
            </td>
        </tr>
    </table>
    <table id="tblMain" runat="server" class="general" style="padding-left:15px;padding-top:10px;vertical-align:top;position:absolute;visibility:hidden;top:-1000px;left:-1000px" cellpadding="0" cellspacing="0">
        <tr id="trMsg" runat="server" visible="false">
            <td align="center">
                <asp:Label ID="lblMessage" runat="server" Text="Label"></asp:Label>
                <asp:ImageButton ID="btnSubmitNoWarn" runat="server" ImageUrl="~/Images/dj/go.gif" OnClick="btnSubmitNoWarn_Click" />
                <asp:ImageButton ID="btnCancelNoWarn" runat="server" ImageUrl="~/Images/dj/cancel.gif" />
                <hr />
            </td>
        </tr>
        <tr id="trCtrl" runat="server">
            <td align="center">
            <table class="general" cellpadding="0" cellspacing="0">
                <tr>
                    <td colspan="2">
                        <asp:Label ID="lblPara1" runat="server" Text="Label"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td></td>
                    <td colspan="2" style="padding-top:10px;">
                        <vw:Feed ID="cFeed" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <asp:Label ID="lblPara2" runat="server" Text="Label"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="lblComment" runat="server"></asp:Label>
                    </td>
                    <td style="padding-top:10px;">
                        <asp:TextBox ID="txtComment" runat="server" TextMode="MultiLine" Height="50" Width="150" MaxLength="999"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="lblName" runat="server"></asp:Label>
                    </td>
                    <td style="padding-top:10px;">
                        <asp:TextBox ID="txtName" runat="server" MaxLength="49"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="rfvName" runat="server" 
                            ControlToValidate="txtName"
                            Display="None"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="lblEmail" runat="server"></asp:Label>
                    </td>
                    <td style="padding-top:10px;">
                        <asp:TextBox ID="txtEmail" runat="server" MaxLength="99"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="rfvEmail" runat="server" 
                            ControlToValidate="txtEmail"
                            Display="None"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator 
                            ID="revEmail" 
                            runat="server" 
                            ControlToValidate="txtEmail"
                            Display="None" 
                            ErrorMessage="Please give a valid Email Id" 
                            ValidationExpression="^[a-zA-Z][\w\.-]*[a-zA-Z0-9]@[a-zA-Z0-9][\w\.-]*[a-zA-Z0-9]\.[a-zA-Z][a-zA-Z\.]*[a-zA-Z]$" 
                            SetFocusOnError="True"></asp:RegularExpressionValidator>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" align="center">
                        <br />
                        <asp:ImageButton ID="btnSubmit" CssClass="pointer" runat="server" ImageUrl="~/Images/dj/go.gif" OnClick="btnSubmit_Click" />
                    </td>
                </tr>
            </table>
            </td>
        </tr>
    </table>
</div>
<asp:ValidationSummary ID="vsAdmin" ShowMessageBox="true" ShowSummary="false" runat="server" />
</asp:Content>
